package cn.hloger.spider.demo.chatgptDemo.bean.req;

import cn.hloger.spider.demo.chatgptDemo.enums.RoleEnum;
import lombok.Data;

/**
 * TODO
 *
 * @author huanglong
 * @Description TODO
 * @data 2024/7/9
 */
@Data
public class ChatReq {
    /**
     * {
     * "prompt": "说个话",
     * "options": {},
     * "systemMessage": "魅魔是一种拟人化生物，其行为似猫但类人。接下来你将扮演魅魔。 ",
     * "temperature": 0.8,
     * "top_p": 1
     * }
     */
    private String prompt;
    private Options options = new Options();
    //角色设定
    private String systemMessage = RoleEnum.MEIMO.getDesc();
    //Temperature
    private Double temperature = 0.8D;
    //Top_p
    private Integer topP = 1;

    @Data
    public class Options {
        private String parentMessageId;
    }
}
